package com.api.devices.mapper;

import com.api.devices.domain.query.LineQuery;
import com.api.devices.domain.query.LineTreeQuery;
import com.api.devices.domain.vo.LineVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LineMapper {
    Long create(@Param("vo") LineVo vo);
    void modify(@Param("vo") LineVo vo);
    void delete(@Param("vo") LineVo vo);
    LineQuery item(@Param("vo") LineVo vo);
    List<LineQuery> list(@Param("vo") LineVo vo);
    List<LineTreeQuery> tree(@Param("vo") LineVo vo);
}
